package com.dubbo.dubboconsumer;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/**
 * @author apple
 **/
@SpringBootApplication
@ImportResource("classpath:consumer.xml")
public class DubboConsumerApplication {

    private static Logger logger = LoggerFactory.getLogger(DubboConsumerApplication.class);

    public static void main(String[] args) {
        logger.info("dubbo consumer is ready to start");
        SpringApplication.run(DubboConsumerApplication.class, args);
        logger.info("dubbo consumer started...");
    }

}
